# -*- coding: utf-8 -*-
# @Date    : 2017-04-25 12:00:51
# @Author  : fancy (fancy@thecover.co)
import os.path

BASE_DIR = os.path.dirname(__file__)

SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(BASE_DIR, 'app.db')
SQLALCHEMY_TRACK_MODIFICATIONS = True
SECRET_KEY = '12345678'
DEBUG = True
AVATAR_MAX_SIZE = 2*1024*1024
MAIL_SERVER = 'smtp.exmail.qq.com'
MAIL_PORT = 465
MAIL_USERNAME = 'spider-monitor@thecover.co'
MAIL_PASSWORD = 'Data2016'
MAIL_DEFAULT_SENDER = 'spider-monitor@thecover.co'
MAIL_USE_SSL = True
HOST = 'http://localhost:5000'
CACHE_TYPE = 'simple'